<?php


ini_set('display_errors', 1);
require_once '/data/wwwroot/g_vendor/autoload.php';


$esCondition = [
    'brand_id' => 2583,
    'page' => 1,
    'page_size' => 50,
    'is_owner' => false,
    'sort' => 'hot',
    'filter_audit_status' => [
        \Biz\model\brand\Content::AUDIT_STATUS_REJECT,
    ],
    'claim_content_status' => \Biz\model\brand\Content::CLAIM_CONTENT_DONE,
    'is_top' => 1,
];
//es搜索内容列表
$info = \Biz\service\brand\SearchSchedule::search(new \Biz\module\Classes\adm\ContentSearch($esCondition));
if (!empty($info['list'])) $info['list'] = implode(",", array_column($info['list'], 'id'));
var_dump($info);
$debug = \Doraemon\model\Elasticsearch\brandContent\BrandContentEs::search($esCondition['brand_id'], $esCondition);
if (!empty($debug['list'])) $debug['list'] = implode(",", array_column($debug['list'], 'id'));
var_dump($debug);